#ifndef __MULTI_SCALE_SUB_IMAGE_COLLECTION_H__
#define __MULTI_SCALE_SUB_IMAGE_COLLECTION_H__

#include "config.h"

namespace DeepZoomImage
{
	class MultiScaleSubImageCollection
	{
	public:
		MultiScaleSubImageCollection();
		virtual ~MultiScaleSubImageCollection();
	
		GPtrArray *z_sorted;
		bool Clear ();
		void ResortByZIndex();

		GPtrArray *Array () { return array; }

		int GetCount () { return m_Count; }

		int Add (int value);
		int Add (void *value);

		bool SetValueAt (int index, void *value);
		void *GetValueAt (int index);		

	protected:
		GPtrArray *array;

		int m_Count;
	};
}

#endif